﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class page_LooseBusinessApply : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        /*
        try
        {
            string RecordId = Context.Request.Params["RecordId"];            
            //主营业务业绩修改
            if (!String.IsNullOrEmpty(RecordId))
            {
                //业绩申请业务类
                Chenxin.Lib.Business.BLL.ContractApplyInfo bllInfo = new Chenxin.Lib.Business.BLL.ContractApplyInfo();
                //点数业务类
                Chenxin.Lib.Business.BLL.ApplyPointAllot bllPointInfo = new Chenxin.Lib.Business.BLL.ApplyPointAllot();

                //业绩申请实体类
                Chenxin.Lib.Business.Entity.ContractApplyInfo entInfo = bllInfo.GetModel(new Guid(RecordId));
                //点数业务类
                List<Chenxin.Lib.Business.Entity.ApplyPointAllot> lsPoint = bllPointInfo.GetModelByContractId(RecordId);
                //转成Json，发回客户端
                hidApplyInfo.Value = Chenxin.Lib.Utility.JsonHelp.Convert2Json(entInfo);
                hidPointInfo.Value = Chenxin.Lib.Utility.JsonHelp.Convert2Json(lsPoint);
            }
            hidUserInfo.Value = Chenxin.Lib.Utility.JsonHelp.Convert2Json(CurrentUserInfo);
        }
        catch (Exception ex)
        {
            //Url参数出错，页面跳转
            Context.Response.Redirect(string.Format(ErrorPageUrl, ex.Message), false);
        }
         * */
    }
}
